//
//  AppDelegate.swift
//  SwiftWB
//
//  Created by luozhijun on 16/8/29.
//  Copyright © 2016年 luozhijun. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        ColorLog.red(NSHomeDirectory(), self)
        
        // 设置全局主题颜色
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        UIBarButtonItem.appearance().tintColor = UIColor.orangeColor()
        
        // Tag 决定使用Storyboard搭建界面框架后不需要手动创建window
//        window = UIWindow(frame: UIScreen.mainScreen().bounds)
//        window?.backgroundColor = UIColor.whiteColor()
//        window?.makeKeyAndVisible()
//        window?.rootViewController = TabBarController(nibName: nil, bundle: nil)
        
        return true
    }

}
